<?php
class Rate extends AppModel {

     var $name = 'Rate';
     var $validate = array();
         
    function a_fGetRateByLocumId(  $i_LocumId )
    {
         return $this->find('all',array('conditions'=>array('Rate.locum_id'=>$i_LocumId)));  
    }
    
}
?>